<?php
	$email_to = "info@limassolbeachmotors.com";
	
	$email_subject = "Request More Info";
	
	$email_body ="
	Make: ".$_REQUEST["makee"]." \n
	Model: ".$_REQUEST["modell"]."  \n
	Range: From ".$_REQUEST["fromm"]." TO: ".$_REQUEST["too"]."\n
	Style: ".$_REQUEST["style"]." \n
	Transmission: ".$_REQUEST["transmission"]." \n
	Exterior Color: ".$_REQUEST["exterior_color"]." \n 
	Interior Color: ".$_REQUEST["interior_color"]."  \n
	Mileage: From ".$_REQUEST["mileagefrom"]." To:".$_REQUEST["mileageto"]."\n
	Price: From ".$_REQUEST["pricefrom"]." To: ".$_REQUEST["priceeto"]." \n
	Purchase Time Frame: ".$_REQUEST["timeframe"]." \n
	FirstName: ".$_REQUEST["fnameee"]." \n
	LastName: ".$_REQUEST["lnameee"]." \n
	Phone: ".$_REQUEST["phoneee"]." \n
	Message: ".$_REQUEST["message"]."\n ";
	
	$header="From:	".$_REQUEST["email"]." "; 
	if(mail($email_to, $email_subject, $email_body,$header))
		{?>
			<script type="text/javascript">
				window.location="blankpage.php";
			</script>
		<?php
		} 
		else 
		{?>
			<script type="text/javascript">
				window.location="blankPage2.php";
			</script>
		<?php }

?>